<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
	<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<script type="text/javascript"  src="/resource/js/jquery-3.2.1/jquery.js"></script>

<link href="/resource/bootstrap-4.3.1/css/bootstrap.css" rel="stylesheet">
<script type="text/javascript" src="/resource/bootstrap-4.3.1/js/bootstrap.js"></script>
<style type="text/css">
	span{
		color:green
	}
</style>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	
	<div class="container">
	<h2>添加应聘人员</h2>
	<form:form modelAttribute="applicant" action="add" method="post">

  <div class="form-group row">
    <label for="name" class="col-sm-2 col-form-label">姓名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="name" id="name">
    </div>
    <form:errors path="name"></form:errors>
  </div>

  <fieldset class="form-group">
    <div class="row">
      <legend class="col-form-label col-sm-2 pt-0">性别</legend>
      <div class="col-sm-10">
        <div class="form-check">
          <input  class="form-check-input" type="radio" name="gender" id="gender1" path="gender" value="男" checked>
          <label class="form-check-label" for="gridRadios1">
            男
          </label>
        </div>
        <div class="form-check">
          <input class="form-check-input" type="radio" name="gender" id="gender2" path="gender" value="女">
          <label class="form-check-label" for="gridRadios2">
            女
          </label>
        </div>
      </div>
      <form:errors pah="gender"></form:errors>
    </div>
  </fieldset>
  
    <div class="form-group row">
    <label for="birthday" class="col-sm-2 col-form-label">生日</label>
    <div class="col-sm-10">
      <input type="Date" class="form-control" name="birthday" id="birthday" path="birthday">
    </div>
    <form:errors path=""></form:errors>
  </div>
  
 <div class="form-group row">
    <label for="college" class="col-sm-2 col-form-label">毕业院校</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="college" id="college" path="college">
    </div>
    
  </div>
  
   <div class="form-group row">
    <label for="major" class="col-sm-2 col-form-label">所学专业</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="major" path="major" id="major" >
    </div>
    <form:errors path="major"></form:errors>
  </div>
  
  
  <div class="form-group">
    <label for="edu">学历</label>
    <select class="form-control" id="edu" name="edu">
      <option value="1">专科</option>
      <option value="2">本科</option>
      <option value="3">研究生</option>
    </select>
    <form:errors path="edu"></form:errors>
 	 </div>
  
   <div class="form-group">
    <label for="degree">学位</label>
    <select class="form-control" id="degree" name="degree">
      <option value="1">学士</option>
      <option value="2">硕士</option>
      <option value="3">博士</option>
    </select>
    <form:errors path="degree"></form:errors>
 	 </div>
  
  
  
  
  <div class="form-group row">
    <div class="col-sm-10">
      <button type="submit" class="btn btn-primary">提交</button>
    </div>
  </div>
  </form:form>
    </div>
</body>
</html>